/*
 * @Author: qianmingtian
 * @Date: 2020-06-30 10:05:13
 * @LastEditors: qianmingtian
 * @LastEditTime: 2020-07-08 09:29:08
 * @FilePath: \qianmingtian.github.io\code\java\ExtendsTest.java
 */ 
public class ExtendsTest{
    class A{
        private String name;

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}
        
    }

    class B extends A{
        private String name;
        
        public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

    }

    public static void main(String[] args) {
        
    }
}